package com.example.easyexcel.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

// 基于lombok
@Data
@NoArgsConstructor
@AllArgsConstructor
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(18)
public class Student {
    @ExcelProperty("账号")
    private String account;
    @ExcelProperty("工号")
    private String workNumber;
    @ExcelProperty("姓名")
    private String userName;
    @ExcelProperty("部门")
    private String department;
    @ExcelProperty("职位")
    private String position;

    @ExcelProperty("日期")
    private String data;
    @ExcelProperty("星期")
    private String week;
    @ExcelProperty("日期类型")
    private String dataType;
    @ExcelProperty("班次")
    private String shift;
    @ExcelProperty("上班时间")
    private String onTime;
    @ExcelProperty("下班时间")
    private String outTime;
    @ExcelProperty("签到打卡")
    private String clockIn;
    @ExcelProperty("签退打卡")
    private String clockBack;
    @ExcelProperty("工作时间(小时)")
    private String workTime;
    @ExcelProperty("计薪时间(小时)")
    private Integer payTime;
}
